<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%
	String userCode = (String)request.getSession().getAttribute("userCode");
	//if(us)
%>
<div class="tpl-left-nav-list">
	<ul class="tpl-left-nav-menu">
		<li class="tpl-left-nav-item">
			<a id="list_1" href="${ctx}/views/host/control.action"  class="nav-link left_menu_l1" target='myframe'>
				<i class="am-icon-home"></i>
				<span>首页</span>
			</a>
		</li>
		<%if(userCode.contains("1001")){ %>
		<%-- <li class="tpl-left-nav-item">
			<a id="list_2" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-columns"></i>
				<span>算法</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right "></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				<li>
					<a id="list_2-1" href="${ctx}/views/algorithm/add.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>算法表单注册</span>
					</a>
				</li>
				<li>
					<a id="list_2-2" href="${ctx}/views/algorithm/xmladd.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>算法文件注册</span>
					</a>
				</li>
				<li>
					<a id="list_2-3"  href="${ctx}/views/algorithm/list.action" target="myframe"class='left_menu_l2'>
						<i class="am-icon-angle-right" aria-hidden="true"></i>
						<span>算法列表</span>
					</a>
				</li>
			</ul>
		</li> --%>
		<%}

			if(userCode.contains("1002")){
		%>
		<%-- <li class="tpl-left-nav-item">
			<a id="list_3" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-table"></i>
				<span>模型</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				<li>
					<a id="list_3-1" href="${ctx}/views/model/create.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>创建模型</span>
					</a>
				</li>
				<li>
					<a id="list_3-2" href="${ctx}/views/model/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>模型列表</span>
					</a>
				</li>
			</ul>
		</li> --%>
		<%}%>

		<% if(userCode.contains("1003")){ %>
	<%-- 	<li class="tpl-left-nav-item">
			<a id="list_4" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-wpforms"></i>
				<span>任务</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				<li>
					<a id="list_4-1" href="javascript:;" class='left_meun_l2'>
						<i class="am-icon-angle-right"></i>
						<span>创建任务</span>
					</a>
				</li>
				<li>
					<a id="list_4-2" href="${ctx}/views/task/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>任务列表</span>
					</a>
				</li>
				<li>
					<a id="list_4-3" href="${ctx}/views/task/hislist.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>历史运行列表</span>
					</a>
				</li>
			</ul>
		</li> --%>

		<%
			}
			if(userCode.contains("1004")){
		%>
		<li class="tpl-left-nav-item">
			<a id="list_5" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-user"></i>
				<span>管理</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				
				
					<li>
					<a id="list_9-2" href="${ctx}/views/monhost/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>主机管理</span>
					</a>
				</li>
				<li>
					<a id="list_9-3" href="${ctx}/views/monhost/group.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>主机分组管理</span>
					</a>
				</li>
				
				<li>
					<a id="list_5-3"  href="${ctx}/views/admin/user/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>用户管理</span>
					</a>
				</li>
				<li>
					<a id="list_5-4"  href="${ctx}/views/admin/character/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>角色管理</span>
					</a>
				</li>
				<li>
					<a id="list_5-1" href="${ctx}/views/admin/company.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>组织机构</span>
					</a>
				</li>
			</ul>
		</li>
		<% }
			if(userCode.contains("1006")){
		%>

		
		<% }
			if(userCode.contains("1007")){
		%>
		<li class="tpl-left-nav-item">
			<a id="list_9" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-apple"></i>
				<span>运行监控</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				<li>
				<a id="list_9-4" href="${ctx}/views/host/control.action" target="myframe" class='left_menu_l2'>
              <i class="am-icon-angle-right"></i>
              <span>主机控制</span>
            </a>
          </li>
			
				<li>
					<a id="list_9-5" href="${ctx}/views/software/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>软件管理</span>
					</a>
				</li>
				<li>
					<a id="list_9-1"  href="${ctx}/views/monitor/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>状态监控</span>
					</a>
				</li>
				<li>
					<a id="list_9-1"  href="${ctx}/views/blacklist/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>黑名单管理</span>
					</a>
				</li>
				
			</ul>
		</li>
		<% }
			if(userCode.contains("1005")){
		%>
	 <li class="tpl-left-nav-item">
			<a id="list_9" href="javascript:;" class="nav-link tpl-left-nav-link-list">
				<i class="am-icon-apple"></i>
				<span>远程部署</span>
				<i class="am-icon-angle-right tpl-left-nav-more-ico am-fr am-margin-right"></i>
			</a>
			<ul class="tpl-left-nav-sub-menu">
				
				<li>
				<a id="list_9-4" href="${ctx}/views/host/control.action" target="myframe" class='left_menu_l2'>
              <i class="am-icon-angle-right"></i>
              <span>主机控制</span>
            </a>
          </li>
          
          <li>
					<a id="list_9-5" href="${ctx}/views/software/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>软件管理</span>
					</a>
				</li>
				
          <li>
					<a id="list_9-6" href="${ctx}/views/pattern/list.action" target="myframe" class='left_menu_l2'>
						<i class="am-icon-angle-right"></i>
						<span>模式管理</span>
					</a>
				</li>
          
				
			</ul>
		</li>
		<%}
			if(userCode.contains("1004")){
		%>
		
		<%-- <li class="tpl-left-nav-item" >
			<a id="list_7" href="${ctx}/views/log/list.action" class="nav-link  left_menu_l1" target="myframe" >
				<i class="am-icon-cloud"></i>
				<span>日志</span>
			</a>
		</li> --%>
		<%}%>
	</ul>
</div>